<?php $this->load->view('scenic/layout/header') ?>
<header class="sec-head flex">
    <div class="sec-return">
        <a href="javascript:goHistoryBack('<?php echo site_url('scenic/info/index/'.$sceneryBase->sid);?>');">
            <i class="iconfont">&#xe606;</i>
        </a>
    </div>
    <div class="sec-city">
        <?php echo $sceneryBase->name_hanzi;?>
    </div>
</header>
<section class="image-list widthMax">
    <ul data-am-widget="gallery" class="am-gallery am-avg-sm-2 am-gallery-imgbordered" data-am-gallery="{pureview: 1}">
        <?php $pictures = explode('|', rtrim($sceneryBase->pics, '|')); ?>
        <?php foreach ($pictures as $key=>$value) :?>
        <li>
            <div class="am-gallery-item">
                <img class="lazy" src="/skins/scenic/images/load.jpg" data-original="<?php echo $this->config->show_image_url($value); ?>" data-rel="<?php echo $this->config->show_image_url($value); ?>"/>
            </div>
        </li>
        <?php endforeach ?>
    </ul>
</section>
<?php $this->load->view('scenic/layout/footer') ?>